package com.jic.purchase.model.vo.response;

import com.jic.manager.request.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = "响应参数")
public class QualificationsManageResponse extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "资质类型：1营业执照；2税务登记证；3组织机构代码证；4开户许可证；5一般纳税人资格证；6品牌授权书；7三合一证；8商标注册证；9食品生产许可证；10相关强制性认证；11其他")
    private Integer qualificationsType;

    @ApiModelProperty(notes = "证书名称")
    private String certificateName;

    @ApiModelProperty(notes = "证书编号")
    private String certificateNumber;

    @ApiModelProperty(notes = "签发机构")
    private String issuingAuthority;

    @ApiModelProperty(notes = "签发日期")
    private Date issueDate;

    @ApiModelProperty(notes = "截止日期")
    private Date invalidDate;

    @ApiModelProperty(notes = "最新年检时间")
    private Date yearlyInspection;

    @ApiModelProperty(notes = "是否合格：1合格；2不合格")
    private Integer qualified;

    @ApiModelProperty(notes = "不合格原因")
    private String unqualifiedReason;

    @ApiModelProperty(notes = "附件名称")
    private String enclosureName;

    @ApiModelProperty(notes = "附件路径")
    private String enclosureUrl;

    @ApiModelProperty(notes = "状态,0代表可用，1代表停用")
    private Integer status;

    @ApiModelProperty(notes = "商品编码")
    private String productCode;

    @ApiModelProperty(notes = "商品名称")
    private String productName;

}
